import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const state = {}
const getters = {}
const actions = {}
const mutations = {}
import login_reqstore from './modules/login_reqstore'
import risk_reason_reqstore from './modules/risk_reason_reqstore'
import original_data_reqstore from './modules/original_data_reqstore'
import rish_trend_reqstore from './modules/rish_trend_reqstore'
import sms_log_reqstore from './modules/sms_log_reqstore'
import manager_reqstore from './modules/manager_reqstore'
import detector_reqstore from './modules/detector_reqstore'
import risk_position_reqstore from './modules/risk_position_reqstore'

export default new Vuex.Store({
    state,
    getters,
    mutations,
    actions,
    modules: {
        login_reqstore,
        risk_reason_reqstore,
        original_data_reqstore,
        rish_trend_reqstore,
        sms_log_reqstore,
        manager_reqstore,
        detector_reqstore,
        risk_position_reqstore
    }
})
